← Back to issue list

using source-branch and source-tag not possible but no explanation in help why this is the case

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1851240
Type
issue
State
open
Author
~ogra
Labels
Created
2019-11-04 13:39:02.520174+00:00
Updated
2019-11-04 20:43:57.673584+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

trying to build a kernel snap from a certain tag and branch results in the following error: Sorry, an error occurred in Snapcraft: Failed to pull source: cannot specify both 'source-branch' and 'source-tag' for a git source. See `snapcraft help sources` for more information. looking at "snapcraft help sources" does not explain that these two are mutually exlusive in any way: ... - source-branch: <branch-name> Snapcraft will checkout a specific branch from the source tree. This only works on multi-branch repositories from git and hg (mercurial). ... - source-tag: <tag> Snapcraft will checkout the specific tag from the source tree revision control system. ... they should either not be mutually exclusive (why are they at all) or there should be a proper hint in the help that one disables support for the other

Evaluation history

No evaluation history available.